package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("carrier_driver")
public class CarrierDriver {

    private Long carrierId;
    private Long driverId;

    private Integer state;

    public CarrierDriver() {
    }

    public CarrierDriver(Long carrierId, Long driverId) {
        this.carrierId = carrierId;
        this.driverId = driverId;
        this.state = 0;
    }


    public Long getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Long carrierId) {
        this.carrierId = carrierId;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

}
